package org.example.DM.Service.Impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.DM.Mapper.userMapper;
import org.example.DM.Service.userService;
import org.example.DM.pojo.userDto;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author : zhangbo
 * @data : 2024/9/19
 * @description :
 */
@Service
public class userServiceImpl extends ServiceImpl<userMapper, userDto> implements userService {
    @Resource
    private userMapper mapper;
    @Override
    public List<userDto> getResult() {
      return mapper.selectList(new LambdaQueryWrapper<>());
    }
}
